/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package principal;

import java.util.HashSet;

/**
 *
 * @author Miguel
 */
public class ListaChoferes {

    private HashSet<Chofer> chofer;

    public ListaChoferes(){
        this.chofer = new HashSet();
    }

    public Boolean Agregar(Chofer Chr){
        Boolean Resultado = chofer.add(Chr);
        return Resultado;
    }

    public HashSet<Chofer> getChofer() {
        return chofer;
    }

    public void setChofer(HashSet<Chofer> chofer) {
        this.chofer = chofer;
    }


}